export const tokenKey = "secretkey"; // token加密字符串

/** 商户号 */
export const mchid = "1646321598";

/** 证书序列号 */
export const serial_no = "21558EE0E6579ED9B3CA44FEED79646846FEA1C8";

/** 微信 API 密钥*/
export const APIV2 = "4828217DA5938BA03AOC88EP55536DFF";
export const APIV3 = "D4BF3CE0U6DBCF2568A63F4EFF739F9C";

/** token验证排除列表 */
// export const excludeUrlList = new RegExp(
//    /((login)|(sendMsg)|(test)|(checkUser)|(adminSignIn)|(acceptWxNotification)|(loginForSmg))$/g
// );

export const excludeUrlList = [
   "/api/mp/user/login",
   "/mp/user/login",
   "/mp/user/acceptWxNotification",
   "/mp/common/signup",
   "/api/common/checkAdmin",
   "/api/login/admin",
   "/api/login/password",
   "/api/login/message",
   "/api/common/sendMessage",
   "/api/payInfo/acceptResult",
   "/api/test/test"
];

/** 支付状态转换 */
export enum payStatusConversion {
   "SUCCESS" = "PAID",
   "NOTPAY" = "NOT_PAID",
   "CLOSED" = "CLOSE"
}
